package com.university.vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Passwordprotection entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "passwordprotection", catalog = "university")

public class Passwordprotection implements java.io.Serializable {

	// Fields

	private Integer passwordProtectionId;
	private Integer passwordProtectionSort;
	private String passwordProtectionValue;
	private Boolean passwordProtectionEnable;

	// Constructors

	/** default constructor */
	public Passwordprotection() {
	}

	@Override
	public String toString() {
		return "Passwordprotection [passwordProtectionId=" + passwordProtectionId + ", passwordProtectionSort="
				+ passwordProtectionSort + ", passwordProtectionValue=" + passwordProtectionValue
				+ ", passwordProtectionEnable=" + passwordProtectionEnable + "]";
	}

	/** full constructor */
	public Passwordprotection(Integer passwordProtectionSort, String passwordProtectionValue,
			Boolean passwordProtectionEnable) {
		this.passwordProtectionSort = passwordProtectionSort;
		this.passwordProtectionValue = passwordProtectionValue;
		this.passwordProtectionEnable = passwordProtectionEnable;
	}

	// Property accessors
	@Id
	@GeneratedValue

	@Column(name = "passwordProtection_id", unique = true, nullable = false)

	public Integer getPasswordProtectionId() {
		return this.passwordProtectionId;
	}

	public void setPasswordProtectionId(Integer passwordProtectionId) {
		this.passwordProtectionId = passwordProtectionId;
	}

	@Column(name = "passwordProtection_sort")

	public Integer getPasswordProtectionSort() {
		return this.passwordProtectionSort;
	}

	public void setPasswordProtectionSort(Integer passwordProtectionSort) {
		this.passwordProtectionSort = passwordProtectionSort;
	}

	@Column(name = "passwordProtection_value", length = 50)

	public String getPasswordProtectionValue() {
		return this.passwordProtectionValue;
	}

	public void setPasswordProtectionValue(String passwordProtectionValue) {
		this.passwordProtectionValue = passwordProtectionValue;
	}

	@Column(name = "passwordProtection_enable", insertable = false)

	public Boolean getPasswordProtectionEnable() {
		return this.passwordProtectionEnable;
	}

	public void setPasswordProtectionEnable(Boolean passwordProtectionEnable) {
		this.passwordProtectionEnable = passwordProtectionEnable;
	}

}